package com.chh.pdclient.api;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chh.pdclient.dto.RuleAddCmd;
import com.chh.pdclient.dto.RuleUpdateCmd;
import com.chh.pdclient.dto.data.RuleVO;
import com.chh.pdclient.dto.query.RuleListByParamQuery;

public interface IRuleService {

    RuleVO add(RuleAddCmd cmd);

    RuleVO update(RuleUpdateCmd cmd);

    RuleVO one(Long id);

    IPage<RuleVO> page(RuleListByParamQuery query);

}
